A Polymorphic Library for Constructive Solid Geometry 1 Submitted to Journal of Functional Programming

نویسندگان

  • J R Davy
  • P M Dew
چکیده

Solid modelling using constructive solid geometry (CSG) includes many examples of stylised divide-and-conquer algorithms. We identify the sources of these recurrent patterns and implement a Geometric Evaluation Library (GEL) which captures them as higher order functions. This library then become the basis of developing CSG applications quickly and concisely. GEL is currently implemented as a set of separately compiled modules in the pure functional language Hope+. We evaluate our work in terms of performance and general applicability. We also assess the beneets of the functional paradigm in this domain and the merits of programming with a set of higher order functions.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Constructive Solid Geometry Using Algorithmic Skeletons 1

This paper presents a study in the use of parallel algorithmic skeletons to program applications of constructive solid geometry (CSG). The approach is motivated by the frequent use of divide-and-conquer (D&C) methods in this domain, which are amenable to highly parallel implementation. A prototype Geometric Evaluation Library (GEL) is presented , with a small set of polymorphic higher-order fun...

متن کامل

OpenCSG: A Library for Image-Based CSG Rendering

We present the design and implementation of a real-time 3D graphics library for image-based Constructive Solid Geometry (CSG). This major approach of 3D modeling has not been supported by real-time computer graphics until recently. We explain two essential image-based CSG rendering algorithms, and we introduce an API that provides a compact access to their complex functionality and implementati...

متن کامل

Fuzzy Linear Programming and its Application for a Constructive Proof of a Fuzzy Version of Farkas Lemma

The main aim of this paper is to deal with a fuzzy version of Farkas lemma involving trapezoidal fuzzy numbers. In turns to that the fuzzy linear programming and duality theory on these problems can be used to provide a constructive proof for Farkas lemma. Keywords Farkas Lemma, Fuzzy Linear Programming, Duality, Ranking Functions.

متن کامل

Rule-based 3d Modeling for Chinese Traditional Architecture

The Chinese traditional architecture called as DaMu structure, which wooden materials were used mainly. The work of historic heritage conservation needs the surveying maps and the 3D model of the building. Laser scanning techniques can provide the best potential for high efficient and more safety recording of the 3D data. Recently, Terrestrial Laser Scanning (TLS) has been used in some architec...

متن کامل

Cheap Tupling Transformation

Tupling is a well-known transformation tactic to obtain new recursive functions without redundant recursive calls and/or multiple traversals of common data, which is achieved by grouping some recursive functions into a tuple. Although being studied for a long time based on fold/unfold transformation, it su ers from the high cost of keeping track of function calls and has to use clever control t...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994